package com.zhiyou.service;


import com.zhiyou.model.Repair;
import com.zhiyou.util.PageBean;

public interface RepairService {
	//展示所有信息
	PageBean<Repair> show(int pc,int ps);
	//根据id查询单个数据
	Repair find(int id);
	//根据ID删除一个数据
	boolean delete(int id);
	//根据id修改单个
	boolean update(Repair repair);
	//添加一个角色信息
	boolean add(Repair repair);
	//批量删除
	boolean dels(int [] id);
	//多条件查询
	PageBean<Repair> find(String flat,String lo,int pc,int ps);

}
